<template lang="pug">
    Maintenance(main-id="Resource" :setting="setting")
      template(slot="right-side" slot-scope="row")
        div() 323ewewW
        button(@click="onClick(row)") click me show the scope 
</template>

<script>
import Maintenance from './pages/styles/default';

export default {
  name: "demo",
  data(){
    return {
      setting:{
        hasCustomRight: true
      }
    }
  },
  components: {Maintenance},
  methods:{
    onClick(row){
      console.log(row);
    }
  }
};
</script>

<style lang="less" scoped>
*,
*::before,
*::after {
  box-sizing: border-box;
}
</style>
